package com.ruoyi.project.stat.paeaReportBusiness.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.stat.paeaReportBusiness.domain.PaeaReportBusiness;
import com.ruoyi.project.stat.paeaReportBusiness.domain.StatisticsReportBusiness;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 差错处理统计Mapper接口
 *
 * @author gang.wei
 * @date 2020-04-14
 */
@Component
public interface PaeaReportBusinessMapper extends BaseMapper<PaeaReportBusiness>
{
    /**
     * 查询差错处理统计
     *
     * @param id 差错处理统计ID
     * @return 差错处理统计
     */
    public PaeaReportBusiness selectPaeaReportBusinessById(String id);

    /**
     * 查询差错处理统计列表
     *
     * @param paeaReportBusiness 差错处理统计
     * @return 差错处理统计集合
     */
    public List<PaeaReportBusiness> selectPaeaReportBusinessList(PaeaReportBusiness paeaReportBusiness);

    /**
     * 新增差错处理统计
     *
     * @param paeaReportBusiness 差错处理统计
     * @return 结果
     */
    public int insertPaeaReportBusiness(PaeaReportBusiness paeaReportBusiness);

    /**
     * 修改差错处理统计
     *
     * @param paeaReportBusiness 差错处理统计
     * @return 结果
     */
    public int updatePaeaReportBusiness(PaeaReportBusiness paeaReportBusiness);

    /**
     * 删除差错处理统计
     *
     * @param id 差错处理统计ID
     * @return 结果
     */
    public int deletePaeaReportBusinessById(String id);

    /**
     * 批量删除差错处理统计
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deletePaeaReportBusinessByIds(String[] ids);
    //根据子机构查询
    public List<StatisticsReportBusiness> statisticsByOrgan(Map<String,Object> quereParams);
    //根据机构柜员查询
    public List<StatisticsReportBusiness> statisticsByOrganTeller(Map<String,Object> quereParams);

}
